package com.carmanage.dao;

import java.util.List;

import com.carmanage.domain.Page;
import com.carmanage.domain.Role;
import com.carmanage.domain.User;


public interface RoleDao {
   
	List<Role> findAllRole();
	
	Role findRoleByRoleId(int roleid);
	
    int addRole(String rolename,String creatdate);
	
	int updateRole(String rolename,List<Integer> ActionIds);
	
	Role getRoleByRoleId(int roleid);

	List<Role> findRoleByPage(Page rolePage);

	int findAllRoleRecord();

	int updateRole(List<Integer> listAction, int roleid);
}